<div id="loginForm">
<span class="error"><%= flash[:error] %></span>
<span class="notice"><%= flash[:notice] %></span>
<% form_tag :action=> 'login' do %>
  <div>
    <%= label :user, :sid, "用户编号" %>
    <br/>
    <%= text_field :user, :sid %>
  </div>
  <div>
    <%= label :user, :password, "密码" %>
    <br/>
    <%= password_field :user, :password %>
  </div>
  <div>
    <%= submit_tag "登录" %>
  </div>
<% end %>
</div>
